package com.hspedu.demo;

/**
 * @author yulian174
 * @version 1.0
 */
abstract public class Abstra {
    public abstract void job();

    public long calculation() {
        long start = System.currentTimeMillis();
        job();
        long end = System.currentTimeMillis();
        return (end - start);
    }

    public abstract void print();
}
